﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using System.Threading;

namespace WebcamPositionSourceConfiguration.Clustering
{
    public partial class LedDetectorUC : UserControl
    {
        public LedDetectorUC()
        {
            InitializeComponent();
        }

        public void SetBitmap(Bitmap image)
        {
            pbDetectedImage.Invoke(new ThreadStart(delegate()
            {
                pbDetectedImage.Image = image;
            }));
        }
        public CameraIntrinsicSettings CameraIntrinsicSettings
        {
            get
            {
                return cameraIntrinsicSettings1;
            }
        }
    }
}
